﻿<UserControl x:Class="It.Uniba.Di.Cdg.SocialTfs.Client.Objects.UIPerson"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d"  Height="120" Width="120" Margin="5,0,0,5"
             Background="#FF26A0DA" Opacity="0.8" Cursor="Hand"
             MouseEnter="UserControl_MouseEnter" MouseLeave="UserControl_MouseLeave"
             MouseDown="UserControl_MouseDown" MouseUp="UserControl_MouseUp">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="3*"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Image Name="Avatar" HorizontalAlignment="Left" VerticalAlignment="Top"/>
        <TextBlock Name="Username" Grid.Row="2" Grid.ColumnSpan="2" Foreground="White" Margin="5,0,5,0" VerticalAlignment="Center" FontSize="14"/>
    </Grid>
</UserControl>
